package com.hq.ims.data.vo;

import com.hq.ims.data.entity.CompanyAptitudeHistory;
import com.hq.ims.data.entity.CompanyRuleHistory;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


/**
 * @author 蒋柏平
 * @since 20241022
 */
@Mapper
public interface CompanyRuleHistoryMapstruct {

    CompanyRuleHistoryMapstruct INSTANCE = Mappers.getMapper(CompanyRuleHistoryMapstruct.class);

    //-------------------------------- 转换VO类 --------------------------------


    //-------------------------------- 以下为自定义类[输出对象] --------------------------------

    @ApiModel(value = "原始对象的扩展类")
    @Data
    class CompanyRuleHistoryVo extends CompanyRuleHistory {

        @ApiModelProperty(value = "收益规则")
        private List<AppFileMapstruct.FileVo> files;

        @ApiModelProperty(value = "上级组织")
        private String parentName;

        @ApiModelProperty(value = "证书号吗")
        private String companyCardNumber;

        @ApiModelProperty(value = "拒绝理由")
        private String rejectReason;

    }

}
